package qshsoft.springsecurity.controller

import org.springframework.stereotype.Controller
import org.springframework.web.bind.annotation.RequestMapping

@Controller
class LoginController {

//    @RequestMapping("login")
//    public String login(){
//        return "redirect:main.html"
//    }

    @RequestMapping("toMain")
    public String toMain(){
        return "redirect:main.html"
    }

    @RequestMapping("toError")
    public String toError(){
        return "redirect:error.html"
    }
}
